// Haxzs Audio Server
// made by omghaxzs
// 2010

#ifndef SOURCE_H
#define SOURCE_H

#include "main.h"
#include "client.h"
#include "dest.h"

class source {
public:

	source();

	tcp::socket clientsocket;
	tcp::acceptor listensocket;
	tcp::endpoint endpoint;

	client *src;
	bool connected;

	void setUpSourceServer();
	void listenForClients();
	void sendInfo();

};

extern source *s;

#endif